package com.atguigu.springwebdemo.mappers;

import com.atguigu.springwebdemo.bean.Employee;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/*
     BaseMapper<T>: 代表当前Dao要操作的类型，对什么类型进行CRUD


     NoSuchBeanDefinitionException:

            No qualifying bean of type 'com.atguigu.springwebdemo.mappers.EmployeePlusMapper' available

            @Repository: 标注在接口的实现类上，它无法使用Mybatis的动态代理功能。

 */
@Mapper
public interface EmployeePlusMapper extends BaseMapper<Employee>
{
}